package com.qhy.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author qiuhongyu
 * @date 2020/12/4 16:19
 */
@SpringBootApplication
@EnableDiscoveryClient //开启服务的注册与发现
@EnableFeignClients
//扫描fegin接口所在的包名使其生效
//@EnableFeignClients(basePackages = "com.qhy.springcloud.service")
public class ConsumerApplication_84 {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication_84.class, args);
    }

}
